/**
 * @求1~10!
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>
#include <cs50.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
	int s = 1;

	printf("数字          结果\n");

	for (int i=1; i<=10; i++) {
		s *= i;
		printf("%3i!          %i\n", i, s);
	}
}
